package org.ykh.srb.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author ykh
 */
@SpringBootApplication(scanBasePackages = {
        "org.ykh.gateway",
        "org.ykh.srb.gateway"
})
@EnableDiscoveryClient  //服务注册和发现
public class SrbGatewayApplication {
    public static void main(String[] args) {
        SpringApplication.run( SrbGatewayApplication.class,args);
    }
}
